package com.bwie.service;

import com.bwie.service.impl.IUserServiceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "Day0319-Month-User", fallback = IUserServiceImpl.class)
public interface IUserService {

    @PostMapping("/user/user/userById/{id}")
    public R userById (@PathVariable Integer id);
}
